package com.letme.store.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.letme.store.domain.MallUserAddress;

/**
 * 用户地址Service接口
 *
 * @author ruoyi
 * @date 2025-09-18
 */
public interface IMallUserAddressService extends IService<MallUserAddress>
{
    //查询当前用户的地址
    List<MallUserAddress> queryUserAddress();
    //当前用户设为默认地址
    Boolean updateAddressDefault(Long id);
    //当前用户删除地址
    Boolean fakeDelAddress(Long id);
    //新增地址
    Boolean saveAddress(MallUserAddress address);
    //查询地址详情
    MallUserAddress queryAddressDetail(Long id);
    //修改地址
    Boolean updateAddress(MallUserAddress address);
}
